﻿namespace DotNetUtility.ExtensionMethods.Test
{
    using System.Collections;
    using System.Collections.Generic;
    using NUnit.Framework;

    [TestFixture]
    public class IEnumerableExtensionsTest
    {
        [Test]
        public void IEnumerableToICollectionTest()
        {
            IEnumerable<string> myIEnumerable = new List<string>
            {
                "String one",
                "String two",
                "String three"
            };
            ICollection<string> myICollection = myIEnumerable.ToICollection<string>();
            Assert.IsNotNull(myICollection);
        }

    }
}
